package com.sjd.mall.domain.dto.shoppingcart;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import java.math.BigDecimal;

/**
 * 购物车修改
 *
 * @author seer
 * @date 2022/1/12 23:57
 */
@ApiModel
@Data
@EqualsAndHashCode(callSuper = false)
@ToString(callSuper = true)
public class WxShoppingCartUpdateRequestDTO {

    @ApiModelProperty(
            value = "id",
            required = true
    )
    private Long id;

    @ApiModelProperty(
            value = "商品数量",
            required = true,
            allowableValues = "最终商品数量,>1"
    )
    private BigDecimal goodsQuantity;
}
